package po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DyhNewsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DyhNewsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTopicidIsNull() {
            addCriterion("topicid is null");
            return (Criteria) this;
        }

        public Criteria andTopicidIsNotNull() {
            addCriterion("topicid is not null");
            return (Criteria) this;
        }

        public Criteria andTopicidEqualTo(Integer value) {
            addCriterion("topicid =", value, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidNotEqualTo(Integer value) {
            addCriterion("topicid <>", value, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidGreaterThan(Integer value) {
            addCriterion("topicid >", value, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidGreaterThanOrEqualTo(Integer value) {
            addCriterion("topicid >=", value, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidLessThan(Integer value) {
            addCriterion("topicid <", value, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidLessThanOrEqualTo(Integer value) {
            addCriterion("topicid <=", value, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidIn(List<Integer> values) {
            addCriterion("topicid in", values, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidNotIn(List<Integer> values) {
            addCriterion("topicid not in", values, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidBetween(Integer value1, Integer value2) {
            addCriterion("topicid between", value1, value2, "topicid");
            return (Criteria) this;
        }

        public Criteria andTopicidNotBetween(Integer value1, Integer value2) {
            addCriterion("topicid not between", value1, value2, "topicid");
            return (Criteria) this;
        }

        public Criteria andHeadtitleIsNull() {
            addCriterion("headtitle is null");
            return (Criteria) this;
        }

        public Criteria andHeadtitleIsNotNull() {
            addCriterion("headtitle is not null");
            return (Criteria) this;
        }

        public Criteria andHeadtitleEqualTo(String value) {
            addCriterion("headtitle =", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleNotEqualTo(String value) {
            addCriterion("headtitle <>", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleGreaterThan(String value) {
            addCriterion("headtitle >", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleGreaterThanOrEqualTo(String value) {
            addCriterion("headtitle >=", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleLessThan(String value) {
            addCriterion("headtitle <", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleLessThanOrEqualTo(String value) {
            addCriterion("headtitle <=", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleLike(String value) {
            addCriterion("headtitle like", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleNotLike(String value) {
            addCriterion("headtitle not like", value, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleIn(List<String> values) {
            addCriterion("headtitle in", values, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleNotIn(List<String> values) {
            addCriterion("headtitle not in", values, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleBetween(String value1, String value2) {
            addCriterion("headtitle between", value1, value2, "headtitle");
            return (Criteria) this;
        }

        public Criteria andHeadtitleNotBetween(String value1, String value2) {
            addCriterion("headtitle not between", value1, value2, "headtitle");
            return (Criteria) this;
        }

        public Criteria andPretitleIsNull() {
            addCriterion("pretitle is null");
            return (Criteria) this;
        }

        public Criteria andPretitleIsNotNull() {
            addCriterion("pretitle is not null");
            return (Criteria) this;
        }

        public Criteria andPretitleEqualTo(String value) {
            addCriterion("pretitle =", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleNotEqualTo(String value) {
            addCriterion("pretitle <>", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleGreaterThan(String value) {
            addCriterion("pretitle >", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleGreaterThanOrEqualTo(String value) {
            addCriterion("pretitle >=", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleLessThan(String value) {
            addCriterion("pretitle <", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleLessThanOrEqualTo(String value) {
            addCriterion("pretitle <=", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleLike(String value) {
            addCriterion("pretitle like", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleNotLike(String value) {
            addCriterion("pretitle not like", value, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleIn(List<String> values) {
            addCriterion("pretitle in", values, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleNotIn(List<String> values) {
            addCriterion("pretitle not in", values, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleBetween(String value1, String value2) {
            addCriterion("pretitle between", value1, value2, "pretitle");
            return (Criteria) this;
        }

        public Criteria andPretitleNotBetween(String value1, String value2) {
            addCriterion("pretitle not between", value1, value2, "pretitle");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitlecolorIsNull() {
            addCriterion("titlecolor is null");
            return (Criteria) this;
        }

        public Criteria andTitlecolorIsNotNull() {
            addCriterion("titlecolor is not null");
            return (Criteria) this;
        }

        public Criteria andTitlecolorEqualTo(String value) {
            addCriterion("titlecolor =", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotEqualTo(String value) {
            addCriterion("titlecolor <>", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorGreaterThan(String value) {
            addCriterion("titlecolor >", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorGreaterThanOrEqualTo(String value) {
            addCriterion("titlecolor >=", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorLessThan(String value) {
            addCriterion("titlecolor <", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorLessThanOrEqualTo(String value) {
            addCriterion("titlecolor <=", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorLike(String value) {
            addCriterion("titlecolor like", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotLike(String value) {
            addCriterion("titlecolor not like", value, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorIn(List<String> values) {
            addCriterion("titlecolor in", values, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotIn(List<String> values) {
            addCriterion("titlecolor not in", values, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorBetween(String value1, String value2) {
            addCriterion("titlecolor between", value1, value2, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlecolorNotBetween(String value1, String value2) {
            addCriterion("titlecolor not between", value1, value2, "titlecolor");
            return (Criteria) this;
        }

        public Criteria andTitlefontIsNull() {
            addCriterion("titlefont is null");
            return (Criteria) this;
        }

        public Criteria andTitlefontIsNotNull() {
            addCriterion("titlefont is not null");
            return (Criteria) this;
        }

        public Criteria andTitlefontEqualTo(String value) {
            addCriterion("titlefont =", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontNotEqualTo(String value) {
            addCriterion("titlefont <>", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontGreaterThan(String value) {
            addCriterion("titlefont >", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontGreaterThanOrEqualTo(String value) {
            addCriterion("titlefont >=", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontLessThan(String value) {
            addCriterion("titlefont <", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontLessThanOrEqualTo(String value) {
            addCriterion("titlefont <=", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontLike(String value) {
            addCriterion("titlefont like", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontNotLike(String value) {
            addCriterion("titlefont not like", value, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontIn(List<String> values) {
            addCriterion("titlefont in", values, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontNotIn(List<String> values) {
            addCriterion("titlefont not in", values, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontBetween(String value1, String value2) {
            addCriterion("titlefont between", value1, value2, "titlefont");
            return (Criteria) this;
        }

        public Criteria andTitlefontNotBetween(String value1, String value2) {
            addCriterion("titlefont not between", value1, value2, "titlefont");
            return (Criteria) this;
        }

        public Criteria andSubtitleIsNull() {
            addCriterion("subtitle is null");
            return (Criteria) this;
        }

        public Criteria andSubtitleIsNotNull() {
            addCriterion("subtitle is not null");
            return (Criteria) this;
        }

        public Criteria andSubtitleEqualTo(String value) {
            addCriterion("subtitle =", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleNotEqualTo(String value) {
            addCriterion("subtitle <>", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleGreaterThan(String value) {
            addCriterion("subtitle >", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleGreaterThanOrEqualTo(String value) {
            addCriterion("subtitle >=", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleLessThan(String value) {
            addCriterion("subtitle <", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleLessThanOrEqualTo(String value) {
            addCriterion("subtitle <=", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleLike(String value) {
            addCriterion("subtitle like", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleNotLike(String value) {
            addCriterion("subtitle not like", value, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleIn(List<String> values) {
            addCriterion("subtitle in", values, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleNotIn(List<String> values) {
            addCriterion("subtitle not in", values, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleBetween(String value1, String value2) {
            addCriterion("subtitle between", value1, value2, "subtitle");
            return (Criteria) this;
        }

        public Criteria andSubtitleNotBetween(String value1, String value2) {
            addCriterion("subtitle not between", value1, value2, "subtitle");
            return (Criteria) this;
        }

        public Criteria andKeywordIsNull() {
            addCriterion("keyword is null");
            return (Criteria) this;
        }

        public Criteria andKeywordIsNotNull() {
            addCriterion("keyword is not null");
            return (Criteria) this;
        }

        public Criteria andKeywordEqualTo(String value) {
            addCriterion("keyword =", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotEqualTo(String value) {
            addCriterion("keyword <>", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordGreaterThan(String value) {
            addCriterion("keyword >", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordGreaterThanOrEqualTo(String value) {
            addCriterion("keyword >=", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordLessThan(String value) {
            addCriterion("keyword <", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordLessThanOrEqualTo(String value) {
            addCriterion("keyword <=", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordLike(String value) {
            addCriterion("keyword like", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotLike(String value) {
            addCriterion("keyword not like", value, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordIn(List<String> values) {
            addCriterion("keyword in", values, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotIn(List<String> values) {
            addCriterion("keyword not in", values, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordBetween(String value1, String value2) {
            addCriterion("keyword between", value1, value2, "keyword");
            return (Criteria) this;
        }

        public Criteria andKeywordNotBetween(String value1, String value2) {
            addCriterion("keyword not between", value1, value2, "keyword");
            return (Criteria) this;
        }

        public Criteria andPagetypeIsNull() {
            addCriterion("pagetype is null");
            return (Criteria) this;
        }

        public Criteria andPagetypeIsNotNull() {
            addCriterion("pagetype is not null");
            return (Criteria) this;
        }

        public Criteria andPagetypeEqualTo(String value) {
            addCriterion("pagetype =", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeNotEqualTo(String value) {
            addCriterion("pagetype <>", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeGreaterThan(String value) {
            addCriterion("pagetype >", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeGreaterThanOrEqualTo(String value) {
            addCriterion("pagetype >=", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeLessThan(String value) {
            addCriterion("pagetype <", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeLessThanOrEqualTo(String value) {
            addCriterion("pagetype <=", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeLike(String value) {
            addCriterion("pagetype like", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeNotLike(String value) {
            addCriterion("pagetype not like", value, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeIn(List<String> values) {
            addCriterion("pagetype in", values, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeNotIn(List<String> values) {
            addCriterion("pagetype not in", values, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeBetween(String value1, String value2) {
            addCriterion("pagetype between", value1, value2, "pagetype");
            return (Criteria) this;
        }

        public Criteria andPagetypeNotBetween(String value1, String value2) {
            addCriterion("pagetype not between", value1, value2, "pagetype");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberIsNull() {
            addCriterion("autopagewordnumber is null");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberIsNotNull() {
            addCriterion("autopagewordnumber is not null");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberEqualTo(Integer value) {
            addCriterion("autopagewordnumber =", value, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberNotEqualTo(Integer value) {
            addCriterion("autopagewordnumber <>", value, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberGreaterThan(Integer value) {
            addCriterion("autopagewordnumber >", value, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("autopagewordnumber >=", value, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberLessThan(Integer value) {
            addCriterion("autopagewordnumber <", value, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberLessThanOrEqualTo(Integer value) {
            addCriterion("autopagewordnumber <=", value, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberIn(List<Integer> values) {
            addCriterion("autopagewordnumber in", values, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberNotIn(List<Integer> values) {
            addCriterion("autopagewordnumber not in", values, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberBetween(Integer value1, Integer value2) {
            addCriterion("autopagewordnumber between", value1, value2, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andAutopagewordnumberNotBetween(Integer value1, Integer value2) {
            addCriterion("autopagewordnumber not between", value1, value2, "autopagewordnumber");
            return (Criteria) this;
        }

        public Criteria andPhotosIsNull() {
            addCriterion("photos is null");
            return (Criteria) this;
        }

        public Criteria andPhotosIsNotNull() {
            addCriterion("photos is not null");
            return (Criteria) this;
        }

        public Criteria andPhotosEqualTo(String value) {
            addCriterion("photos =", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosNotEqualTo(String value) {
            addCriterion("photos <>", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosGreaterThan(String value) {
            addCriterion("photos >", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosGreaterThanOrEqualTo(String value) {
            addCriterion("photos >=", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosLessThan(String value) {
            addCriterion("photos <", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosLessThanOrEqualTo(String value) {
            addCriterion("photos <=", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosLike(String value) {
            addCriterion("photos like", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosNotLike(String value) {
            addCriterion("photos not like", value, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosIn(List<String> values) {
            addCriterion("photos in", values, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosNotIn(List<String> values) {
            addCriterion("photos not in", values, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosBetween(String value1, String value2) {
            addCriterion("photos between", value1, value2, "photos");
            return (Criteria) this;
        }

        public Criteria andPhotosNotBetween(String value1, String value2) {
            addCriterion("photos not between", value1, value2, "photos");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("Priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("Priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Integer value) {
            addCriterion("Priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Integer value) {
            addCriterion("Priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Integer value) {
            addCriterion("Priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Integer value) {
            addCriterion("Priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Integer value) {
            addCriterion("Priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Integer value) {
            addCriterion("Priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Integer> values) {
            addCriterion("Priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Integer> values) {
            addCriterion("Priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Integer value1, Integer value2) {
            addCriterion("Priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Integer value1, Integer value2) {
            addCriterion("Priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andNewsfromIsNull() {
            addCriterion("newsfrom is null");
            return (Criteria) this;
        }

        public Criteria andNewsfromIsNotNull() {
            addCriterion("newsfrom is not null");
            return (Criteria) this;
        }

        public Criteria andNewsfromEqualTo(String value) {
            addCriterion("newsfrom =", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromNotEqualTo(String value) {
            addCriterion("newsfrom <>", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromGreaterThan(String value) {
            addCriterion("newsfrom >", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromGreaterThanOrEqualTo(String value) {
            addCriterion("newsfrom >=", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromLessThan(String value) {
            addCriterion("newsfrom <", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromLessThanOrEqualTo(String value) {
            addCriterion("newsfrom <=", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromLike(String value) {
            addCriterion("newsfrom like", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromNotLike(String value) {
            addCriterion("newsfrom not like", value, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromIn(List<String> values) {
            addCriterion("newsfrom in", values, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromNotIn(List<String> values) {
            addCriterion("newsfrom not in", values, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromBetween(String value1, String value2) {
            addCriterion("newsfrom between", value1, value2, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andNewsfromNotBetween(String value1, String value2) {
            addCriterion("newsfrom not between", value1, value2, "newsfrom");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userid is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userid is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userid =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userid <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userid >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userid >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userid <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userid <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userid in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userid not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userid between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userid not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andTimeIsNull() {
            addCriterion("time is null");
            return (Criteria) this;
        }

        public Criteria andTimeIsNotNull() {
            addCriterion("time is not null");
            return (Criteria) this;
        }

        public Criteria andTimeEqualTo(Date value) {
            addCriterion("time =", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotEqualTo(Date value) {
            addCriterion("time <>", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThan(Date value) {
            addCriterion("time >", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("time >=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThan(Date value) {
            addCriterion("time <", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeLessThanOrEqualTo(Date value) {
            addCriterion("time <=", value, "time");
            return (Criteria) this;
        }

        public Criteria andTimeIn(List<Date> values) {
            addCriterion("time in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotIn(List<Date> values) {
            addCriterion("time not in", values, "time");
            return (Criteria) this;
        }

        public Criteria andTimeBetween(Date value1, Date value2) {
            addCriterion("time between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andTimeNotBetween(Date value1, Date value2) {
            addCriterion("time not between", value1, value2, "time");
            return (Criteria) this;
        }

        public Criteria andSubclassidIsNull() {
            addCriterion("subclassid is null");
            return (Criteria) this;
        }

        public Criteria andSubclassidIsNotNull() {
            addCriterion("subclassid is not null");
            return (Criteria) this;
        }

        public Criteria andSubclassidEqualTo(Integer value) {
            addCriterion("subclassid =", value, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidNotEqualTo(Integer value) {
            addCriterion("subclassid <>", value, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidGreaterThan(Integer value) {
            addCriterion("subclassid >", value, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidGreaterThanOrEqualTo(Integer value) {
            addCriterion("subclassid >=", value, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidLessThan(Integer value) {
            addCriterion("subclassid <", value, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidLessThanOrEqualTo(Integer value) {
            addCriterion("subclassid <=", value, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidIn(List<Integer> values) {
            addCriterion("subclassid in", values, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidNotIn(List<Integer> values) {
            addCriterion("subclassid not in", values, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidBetween(Integer value1, Integer value2) {
            addCriterion("subclassid between", value1, value2, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassidNotBetween(Integer value1, Integer value2) {
            addCriterion("subclassid not between", value1, value2, "subclassid");
            return (Criteria) this;
        }

        public Criteria andSubclassnameIsNull() {
            addCriterion("subclassname is null");
            return (Criteria) this;
        }

        public Criteria andSubclassnameIsNotNull() {
            addCriterion("subclassname is not null");
            return (Criteria) this;
        }

        public Criteria andSubclassnameEqualTo(String value) {
            addCriterion("subclassname =", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameNotEqualTo(String value) {
            addCriterion("subclassname <>", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameGreaterThan(String value) {
            addCriterion("subclassname >", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameGreaterThanOrEqualTo(String value) {
            addCriterion("subclassname >=", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameLessThan(String value) {
            addCriterion("subclassname <", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameLessThanOrEqualTo(String value) {
            addCriterion("subclassname <=", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameLike(String value) {
            addCriterion("subclassname like", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameNotLike(String value) {
            addCriterion("subclassname not like", value, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameIn(List<String> values) {
            addCriterion("subclassname in", values, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameNotIn(List<String> values) {
            addCriterion("subclassname not in", values, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameBetween(String value1, String value2) {
            addCriterion("subclassname between", value1, value2, "subclassname");
            return (Criteria) this;
        }

        public Criteria andSubclassnameNotBetween(String value1, String value2) {
            addCriterion("subclassname not between", value1, value2, "subclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassidIsNull() {
            addCriterion("mainclassid is null");
            return (Criteria) this;
        }

        public Criteria andMainclassidIsNotNull() {
            addCriterion("mainclassid is not null");
            return (Criteria) this;
        }

        public Criteria andMainclassidEqualTo(Integer value) {
            addCriterion("mainclassid =", value, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidNotEqualTo(Integer value) {
            addCriterion("mainclassid <>", value, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidGreaterThan(Integer value) {
            addCriterion("mainclassid >", value, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidGreaterThanOrEqualTo(Integer value) {
            addCriterion("mainclassid >=", value, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidLessThan(Integer value) {
            addCriterion("mainclassid <", value, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidLessThanOrEqualTo(Integer value) {
            addCriterion("mainclassid <=", value, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidIn(List<Integer> values) {
            addCriterion("mainclassid in", values, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidNotIn(List<Integer> values) {
            addCriterion("mainclassid not in", values, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidBetween(Integer value1, Integer value2) {
            addCriterion("mainclassid between", value1, value2, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassidNotBetween(Integer value1, Integer value2) {
            addCriterion("mainclassid not between", value1, value2, "mainclassid");
            return (Criteria) this;
        }

        public Criteria andMainclassnameIsNull() {
            addCriterion("mainclassname is null");
            return (Criteria) this;
        }

        public Criteria andMainclassnameIsNotNull() {
            addCriterion("mainclassname is not null");
            return (Criteria) this;
        }

        public Criteria andMainclassnameEqualTo(String value) {
            addCriterion("mainclassname =", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameNotEqualTo(String value) {
            addCriterion("mainclassname <>", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameGreaterThan(String value) {
            addCriterion("mainclassname >", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameGreaterThanOrEqualTo(String value) {
            addCriterion("mainclassname >=", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameLessThan(String value) {
            addCriterion("mainclassname <", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameLessThanOrEqualTo(String value) {
            addCriterion("mainclassname <=", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameLike(String value) {
            addCriterion("mainclassname like", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameNotLike(String value) {
            addCriterion("mainclassname not like", value, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameIn(List<String> values) {
            addCriterion("mainclassname in", values, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameNotIn(List<String> values) {
            addCriterion("mainclassname not in", values, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameBetween(String value1, String value2) {
            addCriterion("mainclassname between", value1, value2, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andMainclassnameNotBetween(String value1, String value2) {
            addCriterion("mainclassname not between", value1, value2, "mainclassname");
            return (Criteria) this;
        }

        public Criteria andHitsIsNull() {
            addCriterion("hits is null");
            return (Criteria) this;
        }

        public Criteria andHitsIsNotNull() {
            addCriterion("hits is not null");
            return (Criteria) this;
        }

        public Criteria andHitsEqualTo(Integer value) {
            addCriterion("hits =", value, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsNotEqualTo(Integer value) {
            addCriterion("hits <>", value, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsGreaterThan(Integer value) {
            addCriterion("hits >", value, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsGreaterThanOrEqualTo(Integer value) {
            addCriterion("hits >=", value, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsLessThan(Integer value) {
            addCriterion("hits <", value, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsLessThanOrEqualTo(Integer value) {
            addCriterion("hits <=", value, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsIn(List<Integer> values) {
            addCriterion("hits in", values, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsNotIn(List<Integer> values) {
            addCriterion("hits not in", values, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsBetween(Integer value1, Integer value2) {
            addCriterion("hits between", value1, value2, "hits");
            return (Criteria) this;
        }

        public Criteria andHitsNotBetween(Integer value1, Integer value2) {
            addCriterion("hits not between", value1, value2, "hits");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoIsNull() {
            addCriterion("zhaiyao is null");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoIsNotNull() {
            addCriterion("zhaiyao is not null");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoEqualTo(String value) {
            addCriterion("zhaiyao =", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoNotEqualTo(String value) {
            addCriterion("zhaiyao <>", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoGreaterThan(String value) {
            addCriterion("zhaiyao >", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoGreaterThanOrEqualTo(String value) {
            addCriterion("zhaiyao >=", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoLessThan(String value) {
            addCriterion("zhaiyao <", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoLessThanOrEqualTo(String value) {
            addCriterion("zhaiyao <=", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoLike(String value) {
            addCriterion("zhaiyao like", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoNotLike(String value) {
            addCriterion("zhaiyao not like", value, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoIn(List<String> values) {
            addCriterion("zhaiyao in", values, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoNotIn(List<String> values) {
            addCriterion("zhaiyao not in", values, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoBetween(String value1, String value2) {
            addCriterion("zhaiyao between", value1, value2, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andZhaiyaoNotBetween(String value1, String value2) {
            addCriterion("zhaiyao not between", value1, value2, "zhaiyao");
            return (Criteria) this;
        }

        public Criteria andXiangguanIsNull() {
            addCriterion("xiangguan is null");
            return (Criteria) this;
        }

        public Criteria andXiangguanIsNotNull() {
            addCriterion("xiangguan is not null");
            return (Criteria) this;
        }

        public Criteria andXiangguanEqualTo(String value) {
            addCriterion("xiangguan =", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanNotEqualTo(String value) {
            addCriterion("xiangguan <>", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanGreaterThan(String value) {
            addCriterion("xiangguan >", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanGreaterThanOrEqualTo(String value) {
            addCriterion("xiangguan >=", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanLessThan(String value) {
            addCriterion("xiangguan <", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanLessThanOrEqualTo(String value) {
            addCriterion("xiangguan <=", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanLike(String value) {
            addCriterion("xiangguan like", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanNotLike(String value) {
            addCriterion("xiangguan not like", value, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanIn(List<String> values) {
            addCriterion("xiangguan in", values, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanNotIn(List<String> values) {
            addCriterion("xiangguan not in", values, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanBetween(String value1, String value2) {
            addCriterion("xiangguan between", value1, value2, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andXiangguanNotBetween(String value1, String value2) {
            addCriterion("xiangguan not between", value1, value2, "xiangguan");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andTopIsNull() {
            addCriterion("top is null");
            return (Criteria) this;
        }

        public Criteria andTopIsNotNull() {
            addCriterion("top is not null");
            return (Criteria) this;
        }

        public Criteria andTopEqualTo(Integer value) {
            addCriterion("top =", value, "top");
            return (Criteria) this;
        }

        public Criteria andTopNotEqualTo(Integer value) {
            addCriterion("top <>", value, "top");
            return (Criteria) this;
        }

        public Criteria andTopGreaterThan(Integer value) {
            addCriterion("top >", value, "top");
            return (Criteria) this;
        }

        public Criteria andTopGreaterThanOrEqualTo(Integer value) {
            addCriterion("top >=", value, "top");
            return (Criteria) this;
        }

        public Criteria andTopLessThan(Integer value) {
            addCriterion("top <", value, "top");
            return (Criteria) this;
        }

        public Criteria andTopLessThanOrEqualTo(Integer value) {
            addCriterion("top <=", value, "top");
            return (Criteria) this;
        }

        public Criteria andTopIn(List<Integer> values) {
            addCriterion("top in", values, "top");
            return (Criteria) this;
        }

        public Criteria andTopNotIn(List<Integer> values) {
            addCriterion("top not in", values, "top");
            return (Criteria) this;
        }

        public Criteria andTopBetween(Integer value1, Integer value2) {
            addCriterion("top between", value1, value2, "top");
            return (Criteria) this;
        }

        public Criteria andTopNotBetween(Integer value1, Integer value2) {
            addCriterion("top not between", value1, value2, "top");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("Score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("Score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(String value) {
            addCriterion("Score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(String value) {
            addCriterion("Score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(String value) {
            addCriterion("Score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(String value) {
            addCriterion("Score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(String value) {
            addCriterion("Score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(String value) {
            addCriterion("Score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLike(String value) {
            addCriterion("Score like", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotLike(String value) {
            addCriterion("Score not like", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<String> values) {
            addCriterion("Score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<String> values) {
            addCriterion("Score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(String value1, String value2) {
            addCriterion("Score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(String value1, String value2) {
            addCriterion("Score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andRecommendedIsNull() {
            addCriterion("Recommended is null");
            return (Criteria) this;
        }

        public Criteria andRecommendedIsNotNull() {
            addCriterion("Recommended is not null");
            return (Criteria) this;
        }

        public Criteria andRecommendedEqualTo(Integer value) {
            addCriterion("Recommended =", value, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedNotEqualTo(Integer value) {
            addCriterion("Recommended <>", value, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedGreaterThan(Integer value) {
            addCriterion("Recommended >", value, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedGreaterThanOrEqualTo(Integer value) {
            addCriterion("Recommended >=", value, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedLessThan(Integer value) {
            addCriterion("Recommended <", value, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedLessThanOrEqualTo(Integer value) {
            addCriterion("Recommended <=", value, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedIn(List<Integer> values) {
            addCriterion("Recommended in", values, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedNotIn(List<Integer> values) {
            addCriterion("Recommended not in", values, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedBetween(Integer value1, Integer value2) {
            addCriterion("Recommended between", value1, value2, "recommended");
            return (Criteria) this;
        }

        public Criteria andRecommendedNotBetween(Integer value1, Integer value2) {
            addCriterion("Recommended not between", value1, value2, "recommended");
            return (Criteria) this;
        }

        public Criteria andReadstateIsNull() {
            addCriterion("readstate is null");
            return (Criteria) this;
        }

        public Criteria andReadstateIsNotNull() {
            addCriterion("readstate is not null");
            return (Criteria) this;
        }

        public Criteria andReadstateEqualTo(Integer value) {
            addCriterion("readstate =", value, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateNotEqualTo(Integer value) {
            addCriterion("readstate <>", value, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateGreaterThan(Integer value) {
            addCriterion("readstate >", value, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("readstate >=", value, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateLessThan(Integer value) {
            addCriterion("readstate <", value, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateLessThanOrEqualTo(Integer value) {
            addCriterion("readstate <=", value, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateIn(List<Integer> values) {
            addCriterion("readstate in", values, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateNotIn(List<Integer> values) {
            addCriterion("readstate not in", values, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateBetween(Integer value1, Integer value2) {
            addCriterion("readstate between", value1, value2, "readstate");
            return (Criteria) this;
        }

        public Criteria andReadstateNotBetween(Integer value1, Integer value2) {
            addCriterion("readstate not between", value1, value2, "readstate");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNull() {
            addCriterion("Delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIsNotNull() {
            addCriterion("Delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagEqualTo(Byte value) {
            addCriterion("Delete_flag =", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotEqualTo(Byte value) {
            addCriterion("Delete_flag <>", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThan(Byte value) {
            addCriterion("Delete_flag >", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("Delete_flag >=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThan(Byte value) {
            addCriterion("Delete_flag <", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagLessThanOrEqualTo(Byte value) {
            addCriterion("Delete_flag <=", value, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagIn(List<Byte> values) {
            addCriterion("Delete_flag in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotIn(List<Byte> values) {
            addCriterion("Delete_flag not in", values, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagBetween(Byte value1, Byte value2) {
            addCriterion("Delete_flag between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }

        public Criteria andDeleteFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("Delete_flag not between", value1, value2, "deleteFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}